package com.chi.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.chi.dao.LeaveDao;
import com.chi.daoImpl.LeaveDaoImpl;
import com.chi.page.Page;
import com.chi.pojo.Leave;
import com.chi.service.LeaveService;
@Service("leaveService")
public class LeaveServiceImpl implements LeaveService {
@Autowired
 private LeaveDao leaveDao;
	@Override
	public void saveLe(Leave le) {
		// TODO Auto-generated method stub
		leaveDao.saveLe(le);
	}

	@Override
	public void deleteLd(Leave le) {
		// TODO Auto-generated method stub
		leaveDao.deleteLe(le);
	}

	@Override
	public void updateLe(Leave le) {
		// TODO Auto-generated method stub
		leaveDao.updateLe(le);
	}



}
